<!DOCTYPE HTML>
<html>
<head>
<include file="Public:head" />
</head>

<body>
<include file="Public:header" />

<div class="midder">
<div class="mc">
<h1>{$seo.title}
	<eq name="strApp.isrecommend" value="1">
    <span class="recomment-tag">
        推荐
    </span>
    </eq>
</h1>

<div class="cleft">
	
    <div class="mod item-subject">
        <div class="pic">
            <a href="{$strApp[icon_100]}"><img width="100" alt=" " src="{$strApp[icon_100]}"></a>
            <if condition="$visitor[userid] eq $strApp[userid]">
            <div class="th-modify">
                <a href="{:U('develop/index/add_upload',array('id'=>$strApp[appid]))}">增改描述或图标</a>
        	</div>
            </if>
        </div>
        <div class="app_info">
        <ul>
            <li>
                <span class="attr-name">应用类别：</span>
                <span class="attr-value">
                    <a href="{:U('develop/index/applist',array('type'=>$strApp[apptype],'cateid'=>$strApp[cateid]))}">内容聚合</a>
                </span>
            </li>
    
            <li>
                <span class="attr-name">开发者：</span>
                <span class="attr-value">
                    <a href="{:U('space/index/index',array('id'=>$strApp[user][doname]))}">{$strApp[user][username]}</a>
                </span>
            </li>
            
            <li>
                <span class="attr-name">官方网站：</span>        
                <span class="attr-value">
                    <a target="_blank" href="{$strApp[appsite]}">{$strApp[appsite]}</a>
                </span>
            </li>
    
            <li>
                <span class="attr-name">需要积分：</span>
                <span class="attr-value"> 
                免费
                </span>
            </li>        
    
        </ul>
    	</div>
        <div class="appcoutinfo">
        	<if condition="!empty($strApp[appfile]) && $strApp[isaudit] eq 1">
        	<div class="downbar"><a href="{:U('develop/index/down',array('id'=>$strApp[appid]))}">↓点击下载</a></div>
            <else/>
            <div class="downbar"><b>应用审核中</b></div>
            </if>
            <div class="infos"><span>浏览：{$strApp[count_view]}</span><span>下载：{$strApp[count_down]}</span></div>
        </div>

	</div>

<if condition="!empty($strApp[screenshotList])">
<div class="mod screenshot">
    	<div class="header">应用截图</div>
        <div class="screenshots">
        	<foreach name="strApp[screenshotList]" item="item">
            <a href="{$item[bimg]}" target="_blank">
                <img width="165" alt="" src="{$item[mimg]}">
            </a>
            </foreach>
        </div>
</div>
</if> 

<div id="link-report" class="mod item-desc">
    <h2>
        应用简介&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·
    </h2>
    <div class="desc-box">
		<php>echo nl2br($strApp[desc]);</php>
    </div>
</div>    

    
<div class="mod">
	<include file="comment" />
</div>
    
    

    
</div>


<div class="cright">
 	<if condition="$visitor[userid] eq $strApp[userid]">
    <p class="pl2"> &gt; <a href="{:U('develop/index/editapp',array('id'=>$strApp[appid]))}">编辑应用信息</a></p>
    </if>
    <p class="pl2"> &gt; <a href="{:U('develop/index/applist')}">发现更多应用</a></p>

    <div class="mod">
        <h2>
            下载过这个应用的人
                &nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·
        </h2>

        <foreach name="downuserList" item="item">
        <dl class="obu">
            <dt>
            <a href="{:U('space/index/index',array('id'=>$item[doname]))}"><img alt="{$item[username]}" class="m_sub_img" src="{$item[face]}" /></a>
            </dt>
            <dd>{$item[username]}<br>
                <span class="pl">(<a href="{:U('location/area',array(areaid=>$item[area][areaid]))}">{$item[area][areaname]}</a>)</span>
            </dd>
     	 </dl>
        </foreach>
       <div class="clear"></div>
    </div>

    

</div>



</div>
</div>

<include file="Public:footer" />
</body>
</html>